package com.lzy.gulimall.member.feign;

import com.lzy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author zhangyong.li
 * @Description: 优惠卷服务feign调用
 * @date 2021/11/2115:19
 */
@FeignClient("gulimall-coupon") //注册中心的名称
public interface CouponFeignService {
    @RequestMapping("/coupon/coupon/list")
    public R list(@RequestParam Map<String, Object> params);

    @RequestMapping("/coupon/coupon/list1")
    public R listTest();
}
